package com.nowcoder;

import com.nowcoder.utils.CommunityUtil;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

import java.lang.annotation.Target;
import java.util.HashMap;
import java.util.Map;

@SpringBootTest
public class fastJSON {
    @Test
    public void test() {
        Map<String, Object> map = new HashMap<>();
        map.put("name", "zhangsan");
        map.put("age", 25);
        String ok = CommunityUtil.getJSONString(0, "ok", map);
        System.out.println(ok);
    }
}
